"""
定义函数，根据小时、分钟、秒，计算总秒数
"""


def seconds(hour=0, minute=0, second=0):
    result = hour * 3600 + minute * 60 + second
    return result


g = seconds(1)
print(g)
print(seconds(5, 9, 90))
